package com.wangjie.math;

/**
 * 数学工具类
 */
public class MathDemo {
    public static void main(String[] args) {
        System.out.println(Math.abs(-1));
        System.out.println(Math.ceil(1.3));
        System.out.println(Math.floor(1.3));
        System.out.println(Math.random());
        System.out.println((int)(Math.random()*3));
        System.out.println(Math.floor(1.3));
    }
}
